
package edu.wpi.first.wpilibj.templates.commands;


import edu.wpi.first.wpilibj.templates.subsystems.Chassis;


public class CutSpeed extends CommandBase {  
    
    private final static float SPEED_FACTOR = .15f;
    
    public CutSpeed() { 
        super("ReduceSpeed");
        requires(chassis);
    }
    
    
    protected void initialize() {
    }

    protected void execute() {
        chassis.drive.setMaxOutput(SPEED_FACTOR);
    }

    protected boolean isFinished() {
       
        return false;
    }

    protected void end() {
       
    }

    protected void interrupted() {
    }
}
